#include <57header.h>

int main(int argc,char*argv[])
{

    int pipe_fd = open("1.pipe", O_WRONLY);
    // 上面代码, 打开管道的写端
    printf("write pipe open \n");

    // 向管道缓冲区中写数据
    write(pipe_fd, "hello123", 8);
    printf("write hello \n");

    close(pipe_fd);
    return 0;
}

